package com.haiyou.data.game.role;

import com.haiyou.common.entity.Entity;
import com.haiyou.common.entity.PlayerEntity;
import com.haiyou.common.jdbc.DbType;
import com.haiyou.data.common.cache.redis.redisson.annotation.RDatabase;
import com.haiyou.data.common.persister.mysql.annotation.Comment;
import com.haiyou.data.common.persister.mysql.annotation.Database;
import com.haiyou.data.common.persister.mysql.annotation.Id;
import com.haiyou.data.common.persister.mysql.annotation.Table;
import lombok.*;

@NoArgsConstructor
@AllArgsConstructor
@ToString
@Getter
@Setter
@Database(alias = DbType.GAME_DB)
@RDatabase(alias = DbType.GAME_DB)
@Table(name = "t_u_player_advert_record")
public class PlayerAdvertRecordTable implements PlayerEntity<String> {

    @Id
    @Comment("数据 id")
    private String id;

    @Comment("玩家id")
    private long playerId;

    @Comment("广告id")
    private String advertId;

    @Comment("玩家id")
    private long updateTime;

}
